package com.second.model.dto.classify;

import com.second.model.pojo.FShop;
import lombok.Data;

import java.io.Serializable;
@Data
public class FShopAndFTypeDto implements Serializable {
    private FShop shop;
    private Integer type;

    public FShopAndFTypeDto() {

    }

    public FShopAndFTypeDto(FShop shop, Integer type) {
        this.shop = shop;
        this.type = type;
    }

    public FShop getShop() {
        return shop;
    }

    public void setShop(FShop shop) {
        this.shop = shop;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "FShopAndFTypeDto{" +
                "shop=" + shop +
                ", pdType='" + type + '\'' +
                '}';
    }
}
